<?xml version="1.0" encoding="UTF-8"?>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    response.setContentType("text/xml");
%>
<data>
<%
    String ids = request.getParameter("ids");
    String idsArr[] = new String[0];
    String typeArr[] = new String[0];
    if(ids != null)
    {
        idsArr = ids.split(",");
        typeArr = new String[idsArr.length];

        for(int i=0; i<typeArr.length; i++)
        {
            typeArr[i] = request.getParameter(idsArr[i] + "_!nativeeditor_status");
%>
            	<action type="<%=typeArr[i]%>" sid="<%=idsArr[i]%>" tid="<%=idsArr[i]%>"/>
<%
        }

    }
    else
    {
%>
    <action type='error'>ERROR</action>
<%
    }
%>
</data>
